package com.czmh.etc.onlinepubsys.services;


import com.czmh.etc.onlinepubsys.model.EtcReward;
import com.czmh.etc.onlinepubsys.model.EtcStock;

import java.util.List;
import java.util.Map;

/**
 * ETC奖励记录表
 *
 * @author Auto
 * @email Auto
 * @date 2020-11-26 13:49:35
 */
public interface EtcRewardService {

    EtcReward queryObject(String id);

    List<EtcReward> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    List<EtcStock> queryStockList(Map<String, Object> map);

    int queryStockTotal(Map<String, Object> map);

    int save(EtcReward etcReward);

    int saveSelective(EtcReward etcReward);

    int saveList(List<EtcReward> etcRewards);

    int update(EtcReward etcReward);

    int delete(String id);

    int deleteBatch(String[] ids);
}
